<%-- 
    Document   : post
    Created on : Nov 13, 2009, 9:20:10 PM
    Author     : fdcube
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><s:text name="ptmp.ptitle"/></title>
        <link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <s:div cssClass="top">
            <s:include value="/header.jsp"/>
            <s:include value="/side.jsp"/>
        </s:div>
        <s:div cssClass="mainbbs">
            <h1><s:text name="ptmp.ptitle"/></h1>
            <p>
                <span class="color-green">
                    <s:text name="ptmp.pip"/>
                    &nbsp;
                    <s:text name="ptmp.ptime"/>
                    &nbsp;
                </span>
                来自：<s:text name="ptmp.userinfo.uname"/>
                (<s:text name="ptmp.userinfo.uabout"/>)
            </p>
            <p>
                <s:text name="ptmp.pcontent"/>
            </p>
            <s:div cssClass="reply">
                回复：
                <p>
                    <s:iterator value="rtmp" id="pi">
                            <s:div cssClass="replyuserinfo">
                                <s:property value="rip"/>
                                <s:property value="rtime"/>
                                <s:iterator value="#pi.userinfo">
                                    <s:property value="uname"/>
                                </s:iterator>
                            </s:div>
                            <s:div cssClass="replyinfo">
                                <s:property value="rinfo"/>
                            </s:div>
                        </s:iterator>
                </p>
                添加回复：
                <s:form action="BbsAction!AddReply" namespace="/bbs">
                    <s:textarea name="breplyForm.rinfo"/>
                    <s:hidden name="returnUrl" value="BbsAction!ShowPost.action?pid=%{pid}"/>
                    <s:hidden name="breplyForm.pid" value="%{ptmp.pid}"/>
                    <s:submit value="回复" align="center"/>
                </s:form>
            </s:div>
        </s:div>
    </body>
</html>
